#ifndef MAEMO5DEFINES_H
#define MAEMO5DEFINES_H

#define MAEMO5_PLATFORMNAME "maemo5"
#define MAEMO5_SHORTDESC "Building for Maemo5 locally"

enum Maemo5GeneratorPhase {
    M5_INITIAL,
    M5_UNZIP_WIDGET,
    M5_DPKG_BUILDPACKAGE,
    M5_ENDED_SUCCESSFULLY,
    M5_ENDED_WITH_ERRORS,
};


/**
  * This operator let's you treat GeneratorPhase as if it was
  * the same enum type as Maemo5GeneratorPhase.
  */
bool operator==(const GeneratorPhase  & left,
                Maemo5GeneratorPhase   right);

/**
  * Keys for filename substitutions
  */
#define FNAMESUBST_HYBRIDAPP       "hybridapp"


/**
  * Keys for keyword substitutions (in text content)
  */

// all keyword substitutions keys start with this character
#define TXTSUBST_HYBRIDAPP         "@hybridapp@"
#define TXTSUBST_HYBRIDAPP_UC      "@HYBRIDAPP@"
#define TXTSUBST_HYBRIDAPPNAME     "@hybridappname@"
#define TXTSUBST_HYBRIDBINARY      "@hybridbinary@"
#define TXTSUBST_HYBRIDAUTHOR      "@hybridauthor@"
#define TXTSUBST_HYBRIDEMAIL       "@hybridemail@"
#define TXTSUBST_HYBRIDDATETIME    "@hybriddatetime@"
#define TXTSUBST_HYBRIDSHORTDESC   "@hybridshortdesc@"
#define TXTSUBST_HYBRIDLONGDESC    "@hybridlongdesc@"
#define TXTSUBST_HYBRIDYEAR        "@hybridyear@"

#define DEFAULTEX_SUFFIX ".default"
#define DOCBASEEX_SUFFIX ".doc-base"
#define DOCDOCS_SUFFIX   "-doc"
#define DOCINSTALL_SUFFIX "-doc"


#endif // MAEMO5DEFINES_H
